package com.yanqu.road.entity.estatewar.palace;

import com.yanqu.road.entity.DataObject;

public class PalaceUserData extends DataObject {
    private int activityId;
    private long userId;
    private long aideUserId;
    private long joinTime;
    private boolean onlyUnionMemberJoin;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getAideUserId() {
        return aideUserId;
    }

    public void setAideUserId(long aideUserId) {
        if(this.aideUserId != aideUserId) {
            this.aideUserId = aideUserId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        if(this.joinTime != joinTime) {
            this.joinTime = joinTime;
            setUpdateOption();
        }
    }

    public boolean isOnlyUnionMemberJoin() {
        return onlyUnionMemberJoin;
    }

    public void setOnlyUnionMemberJoin(boolean onlyUnionMemberJoin) {
        if(this.onlyUnionMemberJoin != onlyUnionMemberJoin) {
            this.onlyUnionMemberJoin = onlyUnionMemberJoin;
            setUpdateOption();
        }
    }
}
